import request from '@/utils/request'
// 租户的游戏配置api
let gameSettingApi = {
  getGamelist(query) {
    return request({
      url: '/tenantGameInfo/list',
      method: 'get',
      params: query
    })
  },
  addGame(data) {
    return request({
      url: 'tenantGameInfo',
      method: 'post',
      data
    })
  },
  editGame(data) {
    return request({
      url: 'tenantGameInfo',
      method: 'put',
      data
    })
  },
  delGame(id) {
    return request({
      url: `/tenantGameInfo/${id}`,
      method: 'delete'
    })
  },
}
export default gameSettingApi;

